<!DOCTYPE html>
<html>

	<head>
		<title>{$name} {$seo_title} - {$site_name}</title>
		<meta name="keywords" content="{$site_seo_keywords}" />
		<meta name="description" content="{$site_seo_description}">
		<tc_include file="Public:head" />
	</head>

	<body>
		<tc_include file="Public:nav" />
		<div class="" style="min-height: 562px;">
			<img class="am-g am-animation-fade am-img-responsive index-bg" src="__TMPL__Public/images/bg.jpg" id="index-bg" />
		</div>
		<div class="am-g am-g-fixed am-list-fixed am-cf list-breadcrumb">
			<!--<div class="breadcrumb col-md-12" style="margin-left: 10px;">
				<ol class="am-breadcrumb am-u-md-12">
					<li>
						<a href="#" class="am-icon-home">首页</a>
					</li>
					<li>
						<a href="#">分类</a>
					</li>
					<li class="am-active">栏目</li>
				</ol>
			</div>-->
			<tc_include file="Public:left_list"/>
			<div class="container-right am-u-md-9 am-fr">
				<div data-am-widget="titlebar" class="am-titlebar am-titlebar-default">
					<php>
						$id = $_GET['id'];
						$term_name = sp_get_term($id)['name'];
					</php>
					<h2 class="am-titlebar-title ">{$term_name}</h2>
				</div>
				<php>
					$post = sp_sql_posts_paged_bycatid($cid);
				</php>
				<article class="am-article">
					<div class="am-article-bd article-content">
						{$post['posts'][0]['post_content']}
					</div>
				</article>

			</div>
		</div>
		<tc_include file="Public:footer" />

</html>